package com.yigerende.management.service.impl;

import com.yigerende.management.entity.UserInfo;
import com.yigerende.management.mapper.UserMapper;
import com.yigerende.management.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public UserInfo getUserName(String id) {
        UserInfo userInfo = userMapper.getUserName(id);
        return userInfo;
    }
}
